# $Id: PKGBUILD 180118 2013-03-17 17:41:49Z schiv $
# Maintainer: Ray Rashif <schiv@archlinux.org>
# Contributor: dorphell <dorphell@archlinux.org>

pkgname=audiofile
pkgver=0.3.6
pkgrel=1
pkgdesc="Silicon Graphics Audio File Library"
arch=('i686' 'x86_64')
url="http://www.68k.org/~michael/audiofile/"
license=('LGPL')
depends=('gcc-libs' 'alsa-lib' 'flac')
options=('!libtool')
source=("http://audiofile.68k.org/$pkgname-$pkgver.tar.gz")
md5sums=('2731d79bec0acef3d30d2fc86b0b72fd')

build() {
  cd "$srcdir/$pkgname-$pkgver"

  ./configure --prefix=/usr
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"

  make DESTDIR="$pkgdir" install
}

# vim:set ts=2 sw=2 et:
